<div class="con">
	<div class="user_name">
			<div id="top">
				个人中心
			</div>
			<div id="middle">
				<a href="user.php">
				<?php if ($this->_var['info']['head']): ?>
				<img src="<?php echo $this->_var['info']['head']; ?>" alt="" width="140px;" height="140px;">
				<?php else: ?>
				<img src="<?php if ($this->_var['info']['sex'] == 1): ?>img/sex0.jpg<?php elseif ($this->_var['info']['sex'] == 2): ?>img/sex1.jpg<?php else: ?>img/sex0.jpg<?php endif; ?>" alt="" width="140px;" height="140px;">
				<?php endif; ?>
				</a>
			</div>
			<div id="bottom">
				<span style="width: 85px;display:block;overflow: hidden;float: left;height: 56px;"><?php echo $this->_var['info']['username']; ?></span>
				<div id="rank" style="padding-top:2px; float:right; font-size:3px; font-weight:bold; color: #666666;">等级: <?php echo $this->_var['info']['rank_name']; ?></div>
			</div>
	</div>
	<div class="title">交易记录<div class="arrow"></div></div>
	
	<li <?php if ($this->_var['action'] == 'order_list' || $this->_var['action'] == 'order_detail'): ?>class="curs"<?php endif; ?>><a href="user.php?act=order_list">个人订单</a></li>
	<li <?php if ($this->_var['action'] == 'sale_list' || $this->_var['action'] == 'sale_detail'): ?>class="curs"<?php endif; ?>><a href="user.php?act=sale_list">售后订单</a></li>
	<li <?php if ($this->_var['action'] == 'collection_list'): ?>class="curs"<?php endif; ?>><a href="user.php?act=collection_list">我的收藏</a></li>
	<?php if (1 == 2): ?><li <?php if ($this->_var['action'] == 'bonus'): ?>class="curs"<?php endif; ?>><a href="user.php?act=bonus">我的鸡蛋卷</a></li><?php endif; ?>
	<li <?php if ($this->_var['action'] == 'guadanle'): ?>class="curs"<?php endif; ?>><a href="user.php?act=guadanle">我的刮蛋乐</a></li>
	<li <?php if ($this->_var['action'] == 'track_packages'): ?>class="curs"<?php endif; ?> ><a href="user.php?act=track_packages">跟踪包裹</a></li>

	<li <?php if ($this->_var['action'] == 'coupon'): ?>class="curs"<?php endif; ?> style="border: none;"><a href="user.php?act=coupon">我的优惠券</a></li>
	
	<div class="title" id="red">客户服务<div class="arrow"></div></div>
	<li><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=<?php echo $this->_var['qq']['0']; ?>" target="_blank">在线投诉</a></li>
	<li><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=<?php echo $this->_var['qq']['0']; ?>" target="_blank">商品提问</a></li>
	<li><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=<?php echo $this->_var['qq']['0']; ?>" target="_blank">在线客服</a></li>
	<li style="border: none;"><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&uin=<?php echo $this->_var['qq']['0']; ?>" target="_blank">常见问题</a></li>
	<div class="title" id="bule">账户中心<div class="arrow"></div></div>
	<li <?php if ($this->_var['action'] == 'address_list'): ?>class="curs"<?php endif; ?>><a href="user.php?act=address_list">收货地址</a></li>
	<li <?php if ($this->_var['action'] == 'profile_pass'): ?>class="curs"<?php endif; ?>><a href="user.php?act=profile_pass">密码修改</a></li>
	<li <?php if ($this->_var['action'] == 'profile'): ?>class="curs"<?php endif; ?>><a href="user.php?act=profile">我的资料</a></li>
	<li <?php if ($this->_var['action'] == 'comment_list'): ?>class="curs"<?php endif; ?>><a href="user.php?act=comment_list">我的评论</a></li>
	<li <?php if ($this->_var['action'] == 'my_recommend'): ?>class="curs"<?php endif; ?>><a href="user.php?act=my_recommend">我的推荐人</a></li>
	<?php if ($this->_var['agent_rank'] == 1): ?>
	<div class="title" id="bule">我是分销商<div class="arrow"></div></div>
	<li <?php if ($this->_var['action'] == 'my_distributor'): ?>class="curs"<?php endif; ?>><a href="user.php?act=my_distributor">我的分销商</a></li>
	<li <?php if ($this->_var['action'] == 'distributor_detailed'): ?>class="curs"<?php endif; ?>><a href="user.php?act=distributor_detailed">分销明细</a></li>
	<?php endif; ?>
	<div class="title" id="bule"><a href="user.php?act=logout" class="c_fff">安全退出</a></div>

</div>



<div class="affirm_received none">
	<form action="" type='post'>
		<span style="position: absolute;top: 60px;width: 100%;height: 23px;line-height: 23px;font-size: 14px;text-align: center;color: #c8174d;font-weight: bold;">请收到货后，再确认收货！否则您可能钱货两空！</span>
		<span style="position: absolute;top: 105px;width: 100%;height: 23px;line-height: 23px;font-size: 14px;text-align: center;font-weight: bold;" class="order_info"></span>
		<span style="position: absolute;top: 150px;width: 100%;height: 23px;line-height: 23px;font-size: 14px;text-align: center;color: #c8174d;font-weight: bold;">请再次填写密码确认收货</span>
		<span style="position: absolute;top: 195px;width: 100%;height: 23px;line-height: 23px;font-size: 14px;text-align: center;color: #c8174d;font-weight: bold;">
			<input type="password" class='password' name="password" style="width: 296px;height: 28px;line-height: 18px;border: 1px solid #cfcfcf;text-indent: 10px;"><span class="error_html"></span>
		</span>
		<input style="position: absolute;top: 250px;left: 235px;width: 70px;height: 23px;line-height: 23px;font-size: 12px;" class="button_1" onclick='ajax_affirm_received();' value='确认收货' />
		<a style="position: absolute;top: 250px;left: 320px;width: 50px;height: 23px;font-size: 12px;line-height: 23px;" onclick="$('#user #bg,.affirm_received').hide();">取消</a>
	</form>
	<script type="text/javascript">
		function ajax_affirm_received(){
			var url=$('.affirm_received form').attr('action');
			var htmlobj=$.post(url, {'password' : $('.password').val()}, function(data){
				if(data.error != 1){
					$('.affirm_received').hide();$('.order_comment').show();
				}else{
					$('.error_html').html(data.content);
				}
			},'JSON');
		}
	</script>
</div>
<div class="order_comment none">
	<span style="position: absolute;top: 115px;width: 100%;height: 23px;line-height: 23px;font-size: 16px;text-align: center;color: #c8174d;font-weight: bold;">已确认收货！是否立即评价？</span>
	<a href="" class="button_1" style="position: absolute;top: 200px;left: 190px;width: 77px;height: 25px;line-height: 25px;font-size: 12px;" >立即评价</a>
	<a class="button_1" style="position: absolute;top: 200px;left: 290px;width: 77px;height: 25px;line-height: 25px;font-size: 12px;" onclick="$('#user #bg,.order_comment').hide();location.reload();">稍后评价</a>
</div>
<div id="bg" class='none'></div>